package com.gxsyh.nantie.commons.configure.rabbitmq;

import org.springframework.amqp.core.Queue;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;



/**
 * @email yom535@outlook.com
 * @author: 刘锋嘉(Liu Fengjia)
 * @date: 2020/1/8
 * @time: 09:02
 * @Description:
 */
@Configuration
public class RabbitMQConfig {
    public static final String SEND_LOG_QUEUE = "send-log-queue";


    @Bean
    public Queue sendLogQueue() {
        return new Queue(SEND_LOG_QUEUE,true);
    }


}
